\hypertarget{classguild__service_1_1_guild_module_repository_logic}{}\doxysection{guild\+\_\+service\+::Guild\+Module\+Repository\+Logic Class Reference}
\label{classguild__service_1_1_guild_module_repository_logic}\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}


公会仓库模块逻辑类  




{\ttfamily \#include $<$guild\+\_\+repository\+\_\+logic.\+h$>$}

\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool \mbox{\hyperlink{classguild__service_1_1_guild_module_repository_logic_a5fa492f90ccca96aeac2b7df85099757}{Get\+Module\+Repository}} (const guild\+\_\+id\+\_\+type guild\+\_\+id, Guild\+Module\+Repository \&module\+\_\+repository)
\begin{DoxyCompactList}\small\item\em 获取公会仓库模块 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_a4aa87ecb56a5fee579637c12cd9418ab}\label{classguild__service_1_1_guild_module_repository_logic_a4aa87ecb56a5fee579637c12cd9418ab}} 
static bool {\bfseries Init\+Set\+Timer} ()
\item 
static bool \mbox{\hyperlink{classguild__service_1_1_guild_module_repository_logic_a0256dd9920c97111906504bd8e1ff060}{Set\+Guild\+Auction\+Offer}} (const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const uint64\+\_\+t item\+\_\+uuid, const uint32\+\_\+t offer, uint32\+\_\+t \&old\+\_\+offer, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 设置拍卖道具出价 \end{DoxyCompactList}\item 
static bool \mbox{\hyperlink{classguild__service_1_1_guild_module_repository_logic_a9c4cb2bcbc33331a3299294cb0c52a06}{Set\+Guild\+Auction\+Attention}} (const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const uint64\+\_\+t item\+\_\+uuid, bool is\+\_\+attention, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 关注拍卖道具 \end{DoxyCompactList}\item 
static bool \mbox{\hyperlink{classguild__service_1_1_guild_module_repository_logic_a232b95d1346dabf45a81eb89f035980d}{Add\+Guild\+Repository\+Cell\+Item}} (const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const uint32\+\_\+t item\+\_\+id, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 添加仓库道具 \end{DoxyCompactList}\item 
static bool \mbox{\hyperlink{classguild__service_1_1_guild_module_repository_logic_aa828e16156b7a408cb3e2c2572ee099b}{Del\+Guild\+Repository\+Cell\+Item}} (const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const uint64\+\_\+t item\+\_\+uuid, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 删除仓库道具 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
公会仓库模块逻辑类 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_a232b95d1346dabf45a81eb89f035980d}\label{classguild__service_1_1_guild_module_repository_logic_a232b95d1346dabf45a81eb89f035980d}} 
\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}!AddGuildRepositoryCellItem@{AddGuildRepositoryCellItem}}
\index{AddGuildRepositoryCellItem@{AddGuildRepositoryCellItem}!guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}
\doxysubsubsection{\texorpdfstring{AddGuildRepositoryCellItem()}{AddGuildRepositoryCellItem()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::\+Guild\+Module\+Repository\+Logic\+::\+Add\+Guild\+Repository\+Cell\+Item (\begin{DoxyParamCaption}\item[{const role\+\_\+uuid\+\_\+type}]{role\+\_\+uuid,  }\item[{const uint32\+\_\+t}]{item\+\_\+id,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



添加仓库道具 


\begin{DoxyParams}{Parameters}
{\em role\+\_\+uuid} & 角色唯一id \\
\hline
{\em item\+\_\+id} & 道具id \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 添加成功 

false 添加失败 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_aa828e16156b7a408cb3e2c2572ee099b}\label{classguild__service_1_1_guild_module_repository_logic_aa828e16156b7a408cb3e2c2572ee099b}} 
\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}!DelGuildRepositoryCellItem@{DelGuildRepositoryCellItem}}
\index{DelGuildRepositoryCellItem@{DelGuildRepositoryCellItem}!guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}
\doxysubsubsection{\texorpdfstring{DelGuildRepositoryCellItem()}{DelGuildRepositoryCellItem()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::\+Guild\+Module\+Repository\+Logic\+::\+Del\+Guild\+Repository\+Cell\+Item (\begin{DoxyParamCaption}\item[{const role\+\_\+uuid\+\_\+type}]{role\+\_\+uuid,  }\item[{const uint64\+\_\+t}]{item\+\_\+uuid,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



删除仓库道具 


\begin{DoxyParams}{Parameters}
{\em role\+\_\+uuid} & 角色唯一id \\
\hline
{\em item\+\_\+uuid} & 道具唯一id \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 删除成功 

false 删除失败 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_a5fa492f90ccca96aeac2b7df85099757}\label{classguild__service_1_1_guild_module_repository_logic_a5fa492f90ccca96aeac2b7df85099757}} 
\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}!GetModuleRepository@{GetModuleRepository}}
\index{GetModuleRepository@{GetModuleRepository}!guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}
\doxysubsubsection{\texorpdfstring{GetModuleRepository()}{GetModuleRepository()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::\+Guild\+Module\+Repository\+Logic\+::\+Get\+Module\+Repository (\begin{DoxyParamCaption}\item[{const guild\+\_\+id\+\_\+type}]{guild\+\_\+id,  }\item[{Guild\+Module\+Repository \&}]{module\+\_\+repository }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



获取公会仓库模块 


\begin{DoxyParams}{Parameters}
{\em guild\+\_\+id} & 公会id \\
\hline
{\em Guild\+Red\+Envelope\&} & module\+\_\+repository 公会红包模块 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
获取结果 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_a9c4cb2bcbc33331a3299294cb0c52a06}\label{classguild__service_1_1_guild_module_repository_logic_a9c4cb2bcbc33331a3299294cb0c52a06}} 
\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}!SetGuildAuctionAttention@{SetGuildAuctionAttention}}
\index{SetGuildAuctionAttention@{SetGuildAuctionAttention}!guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}
\doxysubsubsection{\texorpdfstring{SetGuildAuctionAttention()}{SetGuildAuctionAttention()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::\+Guild\+Module\+Repository\+Logic\+::\+Set\+Guild\+Auction\+Attention (\begin{DoxyParamCaption}\item[{const role\+\_\+uuid\+\_\+type}]{role\+\_\+uuid,  }\item[{const uint64\+\_\+t}]{item\+\_\+uuid,  }\item[{bool}]{is\+\_\+attention,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



关注拍卖道具 


\begin{DoxyParams}{Parameters}
{\em role\+\_\+uuid} & 角色唯一id \\
\hline
{\em item\+\_\+uuid} & 道具唯一id \\
\hline
{\em is\+\_\+attention} & 是否关注 \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
执行结果 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1_guild_module_repository_logic_a0256dd9920c97111906504bd8e1ff060}\label{classguild__service_1_1_guild_module_repository_logic_a0256dd9920c97111906504bd8e1ff060}} 
\index{guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}!SetGuildAuctionOffer@{SetGuildAuctionOffer}}
\index{SetGuildAuctionOffer@{SetGuildAuctionOffer}!guild\_service::GuildModuleRepositoryLogic@{guild\_service::GuildModuleRepositoryLogic}}
\doxysubsubsection{\texorpdfstring{SetGuildAuctionOffer()}{SetGuildAuctionOffer()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::\+Guild\+Module\+Repository\+Logic\+::\+Set\+Guild\+Auction\+Offer (\begin{DoxyParamCaption}\item[{const role\+\_\+uuid\+\_\+type}]{role\+\_\+uuid,  }\item[{const uint64\+\_\+t}]{item\+\_\+uuid,  }\item[{const uint32\+\_\+t}]{offer,  }\item[{uint32\+\_\+t \&}]{old\+\_\+offer,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



设置拍卖道具出价 


\begin{DoxyParams}{Parameters}
{\em role\+\_\+uuid} & 角色唯一id \\
\hline
{\em item\+\_\+uuid} & 道具唯一id \\
\hline
{\em offer} & 出价 \\
\hline
{\em old\+\_\+price} & 原先出价 \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
执行结果 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
guildservicewelfare/logic/\mbox{\hyperlink{guild__repository__logic_8h}{guild\+\_\+repository\+\_\+logic.\+h}}\item 
guildservicewelfare/logic/guild\+\_\+repository\+\_\+logic.\+cpp\end{DoxyCompactItemize}
